package Bridge;

/**
 * @version: java version 1.8
 * @Author: Zheng
 * @description:
 * @date: 2022-08-14 18:48
 */
public class BridgePatternDemo {
    public static void main(String[] args) {
        Shape redCircle = new Circle(new RedCircle(), 100, 10, 100);
        Shape greenCircle = new Circle(new GreenCircle(), 100, 10, 100);

        redCircle.draw();
        greenCircle.draw();
    }
}
